Fixed tag checking for an exact string, not just a part