No need to order inner query when getting branches