Changed TagsCheck stock function.