Addresses issue #3009 .  gh_bounded_17 test previously failed in dbg mode due to a division by zero since there was zero gas present, so a mass balance for gas did not make sense