Correcting casting errors that caused restores to skip sign text. bug 478:resolved