BUG FIX: Blank page as the last page after deleting pictures.