strongly typed querying - generics error