New filter_branches filter