Huh that's strange. There's a bug in the PuzzleScript+ engine where sometimes level transitions behave unexpectedly, so it might be a case of that sadly. Usually the 'wrong warp' tends to happen if you undo through a level change.