Test null values startdate and enddate

startdate and enddate changed to accept null values in the database, then now we can ask if they are null instead of 0000-00-00 00:00:00