Remove references to the index, which will not be added