Hi, I don't know why, but I have had the same problem.
In my opinion the reason is that you have a starting median value of 0 so probably the algorithm cannot calculate correctly the step by step enhancement (only a guess)
Try to put an offset on your image using pixelmath (say $T+0.001) it should work.