Fixed removing documents from index