Make sure we don't divide by zero