Fixed regression causing wrong direction for inwards move in holes. Includes regression test. #1265