Fix mini bucket simulation cleanup logic.
Merge pull request #4 from lotten/master

Fix mini bucket simulation cleanup logic.