Fix the get-locations-with-dates function

Modifications to getCoordinates script