In this example timer 0 works perfectly yet timer 1 just carries on counting after 240 and the lights never turn off?

Any help is greatly appreciated, jasemilly

0215 - // PIR TURNING LIGHTS ON
0216 - IF Module #5 -SECU16-I Input #7 Turns OFF // boot room Pir turns light on for 10 seconds
0217 - AND Timer #0 is = 0 //
0218 - AND Time of Day is > Sunset offset -32 minutes //
0219 - THEN X-10 House E / Unit 4, Turn ON // boot room toiler
0220 - THEN X-10 House E / Unit 5, Turn ON // boot room toiler
0221 - //
0222 - THEN Timer #0 = 1 // Start timer 0
0223 - //
0224 - IF Module #5 -SECU16-I Input #13 Turns ON // boot room toilet PIR
0225 - THEN Timer #0 = 1 // timer 0, reset back to 1
0226 - //
0227 - IF Timer #0 is = 180 // timer becomes 0
0228 - THEN X-10 House E / Unit 4, Turn OFF // turn light off
0229 - THEN X-10 House E / Unit 5, Turn OFF // turn light off
0230 - //
0231 - THEN Timer #0 = 0 // stop the timer and reset
0232 - //
0233 - // Bedroom1 ensuite wall lights
0234 - IF Module #4 -SECU16-I Input #15 Turns OFF // bedroom 1 Pir turns light on for 240 seconds
0235 - AND Timer #1 is = 0 //
0236 - THEN X-10 House D / Unit 11, Turn ON // bedroom 1ensuite
0237 - THEN Timer #1 = 1 // start timer 1
0238 - //
0239 - //
0240 - IF Timer #1 becomes = 240 // timer 1 = 4 minutes
0241 - THEN X-10 House D / Unit 11, Turn OFF // turn light off
0242 - THEN Timer #1 = 0 // Stop timer 1