Handling of a friend of a friend scenario in the QueryPlanner.