You should include the DISTINCT here too.