Fixed bug in 'ReverseDirectionForForLoopAction'.