Prevent Divide by Zero error.