Fix unterminated \ifx errors