Fixed bad constant linking bonds and bills to legal entities.

Reviewed-By:Chris