Fixed deserialization of section and quantity references. #797

14 jobs for 797-metainfo-cannot-deserialize-references in 33 minutes and 54 seconds (queued for 2 seconds)