Fixes comparer in if statements