Fix evaluation of ! expressions.