fix(record-range): fixes bug when disabling empty ranges.