Logic Error: Gate not opening for condition

YES! Thank you, that worked. Absolute legend.