Fix bug in min/max value finding employed to determine intensity and histogram bin extrema.