am 6118af9d: Fix the behavior of deleting the last picture.

* commit '6118af9ddad8acc050133154f8f60c842c7f9bfa':
  Fix the behavior of deleting the last picture.