Reset Timer Block within If/Then statement

Hello all. I am working with students playing pacman and utilizing the vision sensor to detect a color and activate a moving “Mouth” for a specific period of time. When trying to place the reset timer block under the start of the IF Statement, everything works with the sensor and motor, but the timer never resets after seeing red or blue. Any ideas?
IQ Timer

Nevermind. Solved after printing the timer and using > instead of =.