Nikolay Sivov : dwrite: Fix identical ranges merging.