Corrected type coercion on right predicates (on values, not dates, I'm a numpty)