Fix condition of all_deleted
Merge pull request #1 from higebu/fix-condition-of-all-deleted

Fix condition of all_deleted