Fixed a bug that go into an infinite loop when the tag has not changed.
Merge pull request #2 from studio3104/tagchange

Fixed a bug that go into an infinite loop when the tag has not changed.