DB: Fix SAI broke by quest_end_script conversion

CLoses #8995