Fixed problem with subtypes of List<T>.