undo change to get_parent_locations call to fix tests.