The comparison predicate validates types, but the between predicate currently doesn’t. This should be fixed.