Fixed a bug where we had more chunk migrate than required. Reported by Wenting