fixed a bug in undo restore for kerkerkruip automated tests (#183)