Fixing bug where saving startup would cause a MySQL error if no values/empty table