Within Fiji, the following jython macro returns indeed a number of maxima until ImageJ 1.52k but with the last 1.52n it always returns 0, for any images.
I could not find ImageJ 1.52l and m to test them.
#@ ImagePlus imp
from ij.plugin.filter import MaximumFinder
Tolerance = 0.1
excludeOnEdge=False
print imp.getProcessor()
Polygon = MaximumFinder().getMaxima(imp.getProcessor(), Tolerance, excludeOnEdge)
print Polygon.npoints
Can someone confirm that they have a similar behaviour ?