Hotfix for database error

Very hot indeed