Use paircmp_op for comparing cached group memberships