Fixing a few artifacts in src/core/mpi_register.cpp which were left from the large amount of different approaches tried before settling on the current one.