fix empty and not required date and datetime fields validation