doh! got my boolean logic wrong

sorry, I have failed.