Linq not supporting .index of fix