LayerCollection: fix bug in OrderedDict calls