Fix has_parent_prefix_routes? for / edge case