Added "notnull => false" to date and date time fields. Fixes #911