code: private void cleanUp(final DataSet ds) {
  		Set<String> indexedKeys = Sets.newHashSet();
  		for (String key : ds.getDataView().keySet()) {
  			// Search for indexed entries
  			if (key.contains("#")) {
  				// Remember key (without index)
  				indexedKeys.add(key.substring(0, key.indexOf("#")));
  			}
  		}
  		// Remove all indexes
  		for (String indexedKey : indexedKeys) {
  			ds.removeValue(indexedKey);
  		}
  	}
docs: Check DataSet for indexed entries and remove all keys without index if indexed entries with
  the same name exist.