Catch cases of if x = y and convert to if x == y.