Fixes bug in bin edge output.

This was introduced in the last commit, unfortunately.