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

Hi.

If the tag has not change, fixed to drop the record.
So that it does not change as much as possible, tried to implement a simple fix.

Thank you confirmation.