filters out duplicate genres