Changed MPI filter to consider communicator.