Fixes bug in global reductions