Patch provided by Rolf to correctly call the backend reduction
function.