Fixed reset of story_id on last item deletion