Fixes #15: Missing a bin in histogram loops