Fixed outer join issue that was displaying duplicates