Fix logic for HaxeIfSurrounder.java/testIf test case