Make sure there are no divisions by 0. This refs #6577