Fixed issue with algorithm. I need to test now the algorithm on the development version. This refs #6577
Merge branch 'feature/6577_reduction_gui' into develop