Oops, well, I meant them to match.
The second was pasted from a working file. I don't know why the syntax wouldn't work for a LOW, though.

The point is, though, that there are ways to do it without the IFs. On the other hand, PBP is dreadfully inefficient, so it might be better to use the IFs anyway.