Fix to validLHS function, was allowing expressions on the form (a = b) = b