Bug fix of tasks list in replay mode. Move is_knot break to end of loop.