NPE in LinkQuery.ToString if innerQuery is not defined