Fixed indexing error that made GetBoundsForRange() always return false.