Fixed addition of a tag with a different case.
Merge pull request #650 from Daniel-KM/fix_case_tag

Fixed addition of a tag with a different case.