Fix the SQL error that occurs if this is a new model because the lastmodified column won't exist yet