Fix flipping of `typeof` expressions.