Make flush recursive if new items were added
Merge pull request #16 from teddyzeenny/recursive-flush

Make flush recursive if new items were added