Make sure there are no divisions by 0. This refs #6577
Merge branch 'feature/6577_reduction_gui' into develop