Fix filter for only ongoing memberships
issues #45