[bug 923270] Fix ZeroDivisionError #fail.