Fixed and tested RangeApplier