Index: trunk/ippTools/src/magicdstool.c
===================================================================
--- trunk/ippTools/src/magicdstool.c	(revision 29994)
+++ trunk/ippTools/src/magicdstool.c	(revision 30234)
@@ -1115,5 +1115,5 @@
     psString queryFile = NULL;
     if (state) {
-        if (! strcmp(state, "new") ) {
+        if (! strcmp(state, "new") || !strcmp(state, "goto_restored")) {
             queryFile = "magicdstool_revertdestreakedfile.sql";
         } else if (!strcmp(state, "update")) {
