Indexed branch to base by branch_id to set up relationship when a base is loaded