I didn't realize it was resolving to `NaN`.  I was expecting it to return zero and thought I had protected against hitting the divide by zero.