Fixed delete-all-bug \(Fixes issue #3\)