I have been scouring the interwebs for an example like mine but have not come across one.
At face value the need is simple I have a picture (yellow stop light) in a gallery that I want to be conditional. However my gallery is also filtered by the visible property due to one of the filters being a multi choice field in sharepoint. I believe this creates my problem. The work around I am using to filter the gallery is I created a group for all the items in the gallery and in the visible property of the group I have
ddproduct.Selected.Value in ThisItem.Product.Value || ddproduct.Selected.Value=""
where ddproduct = a drop down created to filter the gallery. Its Items are ["","RI", "CI", "AV", "PNM", "PB","ROCC"]
ThisItem.Product is the choice field in sharepoint.
Now this all works fine if I exclude the empty value in my dropdown item ("" in the drop down and exclude the || ddproduct.Selected.Value=""), but I need the gallery to display all products and then let the user filter accordingly. So then to compound the need I have two more requirements, I need to display a picture based on a sharepoint list entry (ThisItem.Flag) and some items in the sharepoint list I want hidden so I have a field (ThisItem.HideInGallery) that I am looking at. So my attempt was this;
ThisItem.Flag="Caution"&& ddproduct.Selected.Value in ThisItem.Product.Value || ddproduct.Selected.Value="" && !ThisItem.HideInGallery
So if I select an item in the drop down it works as shown here

But as soon as I select the empty value in the drop down, everything gets a yellow light

Is there a limit to the number of conditions I can use in the visible property, or am I not writing the command correctly (likely).
Thanks