The correct block is now preserved when removing thresholds (issue #96)