Prevent divide by zero. Issue #7100

Fix for issue #7100 
You should be able to just change this right here on GitHub.