MULE-7010: Fixing bug in which clear() deletes all partitions and not th...

...e current one