Fix faction bonus calculation.