Fixed a deletion bug on multiple delete.