Fix half-done direction parsing.