Fixed issue with default values for date and datetime fields.