Fix iterables handling for lists