fix #4953, regression in nextprod
Merge branch 'master' of github.com:JuliaLang/julia