Minor bug correction
The branch name is misleading. I thought that Aidan's question would lead to a simplification of the algorithm but it does not.
This commit contains a bug correction that had been reported and corrected in test_bh.c but not in test_bh_sorted.c