Whoops, don't crash when the db is empty