Fixed a long-standing bug in BILL.