Fixed bug in DirectionsReader.