Fixes to LINQ.