if else if bug?

If there is a problem, always suspect your code, not the compiler.