Bug fix: Missed a few db changes needed for the migration to EngineAPI 4