Error when using module MeasureObjectNeighbors

Hi, I am facing a problem when using the MeasureObjectNeighbors module.
It says “IndexErrors: boolean index did not match indexed array along dimension 1; dimension is 32 but corresponding boolean dimension is 105”
I’m using the module to measure the distance of every cell to their closest plaque. The cells and the plaques are in two images. The shape and size of the plaques are various, while the nuclei ( I’m using nucleus to represent each cell) are similar. The former steps have perfectly identified the outline of each object. I have also tried shrinking the cell nuclei into points before running the module, but it still doesn’t work. The module works well when measuring the neighbors within the same set of objects.
I find some other people posting that they also faced the same error. I wonder if anyone has sorted it out? Otherwise, is there any other methods I can use to achieve the same goal?
I have tried both CellProfiler 3.1.5 and 3.1.8. I’m using Windows 10, 64 bit. I have Java 8 and Python 2.7 on the computer.
Thank you so much in advance!