Remove redundant LINQ method call

ToList() already forces the IQueryable to execute. No need to call ToArray() beforehand.