fix for a bug where conditionalToList returns an empty List