Good call, I had assumed that's what indexOfObject does but it actually calls isEqual.  Fixed.