Modified logic in DirectionsReader isCurrentStep.