Query now includes DISTINCT