fix minor range bug in Refiner check