Added a distinct to prevent duplicates on manage client page.