Added check to ensure both points in isValidTransiation are actually on the map