SQL/SpellProc: modified SQL to have correct format