Prevent floating point exception if vapor density is higher than liquid density Patch contributed by Juho Peltola, VTT.