'Filter tags to remove those that only differ by case.'

def deduped_tags(self, tags):

    deduped = OrderedDict()
    for tag in self.sorted_tags(tags):
        deduped.setdefault(tag.lower(), tag)
    return list(deduped.values())
