Trouble getting distinct results (SOLVED)

@tony-brunsman