Fixed waiting for delete.