Fix #298: "ZeroDivisionError: division by zero"
Merge branch 'hotfix/zerodiv298'