Fixed a bug causing db to break when values were not set in database management