genericType.Length == 1 is redundant test, as we already know that there is a single generic argument when dealing with IQueryable<T> (ok to assume)