Remove duplicates in query results of appointmentsFromUser and appointmentsFromUsers