Fix issue where :tag != 'tag'