Fix bug in Cartesian neighbor collectives for pickled object