Fixed a small issue with HBSE pivots

If the number of nodes is less than the default number of pivots.  HBSE would run forever without exit.  This fixes that.