Removed redundant tag compound check