Hotfix for SQL error.