DDPB-2430: Fixes missing user search results by adding GROUP BY clause
DDPB-2430: Fixes missing user search results by adding GROUP BY clause

ministryofjustice/opg-digi-deps-api,ministryofjustice/opg-digi-deps-api,ministryofjustice/opg-digi-deps-api