Fixing the tag selection bug #9