histogram: on error search remaining indices

If one index search fails (due to bad or missing data), continue the
search through the remaining indices/segments, so that we can show some
data despite the missing information.
Merge pull request #851 from jdve/fix-histogram-searching

histogram: on error search remaining indices