IDEA-80056 replaced assert back to condition, as multi cursors need that in cases when one line can be moved and other not.