Better handling of exception flow for orphaned items in path_to_location.