Additional fixes to Gibbs flash algorithm.