Handle invalid coordinates in locality_controller