Remove empty lists in OrderedDict constructors