fix unique validator with date/time fields