Why do we need both this flag and the `_insideTagToRemove` flag?