MDL-44368 use $cm->uservisible in activity names filter

This allows proper linking of groupmembersonly and conditional activities.