Expression Evaluation issue

Hi. I have the following expressions in an IF block in the following order:
( ( {HasPrevOrders} = “N” ) AND ( {HasQuote} = “Y”) )
( ( {HasPrevOrders} = “Y” ) AND ( {HasQuote} = “N”) )
( ( {HasPrevOrders} = “Y” ) AND ( {HasQuote} = “Y”) )
( ( {HasPrevOrders} = “N” ) AND ( {HasQuote} = “N”) )

The two variables are both set to Y (for testing purposes) at the start of the flow.

The first condition gets actioned - which I’m not expecting! I double check the variable vaues just before and just after the IF block and they are still set to Y before and after!

Doubtless a newbie issue relating to the formatting of the expression- please put me out of my misery !