Fix for DatasetListWrapper with optional inputs.