Datetimes are not handled by IN and NOTIN