Fix handling of smart list inputs