insert/removeLines at the document edges create deltas with wrong range