Fix a bug in the Hash checker when updating exactly to a piece boundary.