Unmerge cells not working

I am trying to unmerge cells for a worksheet(refer attached image).
Tried using:
cells.unMerge(0, 0, cells.getMaxDataRow() + 1, cells.getMaxColumn());
Also tried creating a range and using range.unmerge() but the code doesn’t seem to work for me.image.png (32.7 KB)

1,If you want to remove all merged cells, please use Cells.ClearMergedCells().
2, Now Cells.Unmerge only works when the whole range is merged. We will update the “cells.unMerge()” feature to remove all mreged cells in the range.
And log it with issue id CELLSNET-52346.

The issues you have found earlier (filed as CELLSNET-52346) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi