Now only member categories that are used by active member data are listed in the category search pick-list.
Added a second parameter, $forActiveMembers, to getListSortedParentChild() that returns an organized list of member categories.
Added a "WHERE" clause that is used to select categories when $forActiveMembers is true that limit the category list to those used in active members info records.
Added "true" as the $forActiveMembers parameter in the members "list.php" where getListSortedParentChild() is used to get categories for the filter picklist.