Bug 10515: (follow-up) fix use of GetBranchCategories