Fixed a couple of things related to MPI_BGQ method.