Updated HandleRangeCheckCommand