Fixed a bug in specific cases regarding lists of lists, lists of dicts, etc.