Corrected the implementation of isTagged