[Linq] Minor fixup to use elements.Length instead of indexes.Length