Correcting condition which was not allowing get in the iterative mode while debugging (with -d option set)