Fix MSSQL undo template