Fix typo.
Fix issues which occurs when delete last item.