BUG: Fix ComputeImageQuantiles regression

Change-Id: I24f3dca6bbecb8577bc0e45ea1f2dff57e2d72fd
Merge topic 'FixComputeImageQuantilesRegression'

b82a857 BUG: Fix ComputeImageQuantiles regression