Fixed if-statement parsing; accidentally combined if-with-operator and if-exists.