You need to connect orange outputs (at the bottom of each block) to white outputs (on top of each block) everywhere. Now your blocks are almost all wrongly connected.
Remove both 'AND' blocks. They are unnecessary.
All operands on both 'condition' blocks are exactly the same. That will never work. You need to compare one operand's info with the other one's.