Same fix previously done for dicts done for lists.