Users creating a product based WooCommerce segment without specifying a
product were getting an error message asking them to select a category,
and the inverse was happening for users creating a category based
WooCommerce segment. This commit simply makes sure the proper error
message is displayed.
[MAILPOET-3561]