Fixed not saving timestamps to database!