Fix brain dead behavior when computing distance to unknown location