CRUNCH-191 Detached retained values in Distinct