Why doesn't the IF/THEN logic work in my sublist?

IF/THEN Conditional logic can not be used within a sublist. These conditional statements only work for top-level data outside of sublists, or as a 'wrapper' around a sublist to suppress empty sublists as described in this article. For more information about how sublists work see this article.