Make FeatureIndex::getOffsetFromKey slightly more robust

$rows may not always be 0-based with increments of 1, and it's not required for
::filterResults' splice.

Change-Id: I6592a8731ce43bac6e40bfae4c4789adf139803a
Merge "Make FeatureIndex::getOffsetFromKey slightly more robust"