Removes index closure that generates exception later on in the MoleculeConnectivityLoader class.