The edit module was erasing all papers from the index accept for the edited one