Add support for automatically selecting elements from lists that have a single element.