Added Distinct to getDirections