Fixed memory leaks in row/col range indexer