Fixed the code that looks at properties of a given type to look at the inner types properties instead of the outer properties if the type is assignable from IEnumerable<T>