Bug Fix in BeamHGNumInv