fix #27081
Merge pull request #1023 from BartlomiejLewandowski/27081-delete-cr

Fixed range creating after cut and delete.