Use of index when running getRowId for performance