Fixed reported /smart bug when multiple tags with different cases of the same name exist.