implement #451 indexesWhere()/firstIndexWhere()/lastIndexWhere()