Fixed problem with date fields in database insert.