Fixed bug with deserialize to IEnumerable

Trying to deserialize with YamlSerializer<IEnumerable<X>> bombed,
see unit test DeserializeEnumerable.