Bugfix: fixed case where apply statement would fail if GRanges were the same length