fixed type of document while removing it from index; closes #11