Fix another bug when an anonymous type contains a property that is not directly a generic type, but contains type arguments that are type parameters