inlcude AD primary group in user filter, if a group is selected. fixes #12190