Avoid race condition in spec.

Before checking if tag jump back have taken place, make
sure the code to do this has actually been executed.