A small fix in ITypeFactory.CreateInstanceWithParameters<T> extension method.