Chart offline status stopped working

HI all , I was making charts of tags and it was working fine , but the offline stopped updating.
as an example . Victor Khanye has 5 offfline but only 2 shows offline


here is my script to the chart

Dipaleseng LM:
label: “‘Dipaleseng LM’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Dipaleseng0x20LM IS NOT NULL AND Events.Inform > NOW() - 5 * 60 *
1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Dipaleseng0x20LM IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
Emalahleni LM:
label: “‘Emalahleni LM’”
slices:
1_ONLINE:
color: “‘#44b3c2’”
filter: Tags.Emalahleni0x20LM IS NOT NULL AND Events.Inform > NOW() - 5 * 60 *
1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Emalahleni0x20LM IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
Emalangeni MP:
label: “‘Emalangeni MP status’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Emalangeni0x20MP IS NOT NULL AND Events.Inform > NOW() - 5 * 60 *
1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Emalangeni0x20MP IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
Isimangaliso:
label: “‘Isimangaliso’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Isimangaliso IS NOT NULL AND Events.Inform > NOW() - 5 * 60 * 1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Isimangaliso IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
Maphumulo LM:
label: “‘Maphumulo LM status’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Maphumulo0x20LM IS NOT NULL AND Events.Inform > NOW() - 5 * 60 *
1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Maphumulo0x20LM IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
Mkhondo LM:
label: “‘Mkhondo LM’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Mknondo0x20LM IS NOT NULL AND Events.Inform > NOW() - 5 * 60 * 1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Mkhondo0x20LM IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
Msukaligwa LM:
label: “‘Msukaligwa LM’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Msukaligwa0x20LM IS NOT NULL AND Events.Inform > NOW() - 5 * 60 *
1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Msukaligwa0x20LM IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
Rural Dev SG:
label: “‘Rural Dev SG’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.RuralDevSG0x20Nel IS NOT NULL AND Events.Inform > NOW() - 5 * 60 *
1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.RuralDevSG0x20Nel IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
Umlalazi LM:
label: “‘Umlalazi LM’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Umlalazi0x20LM IS NOT NULL AND Events.Inform > NOW() - 5 * 60 * 1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Umlalazi0x20LM IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
Uphongolo LM:
label: “‘Uphongolo LM’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Uphongolo0x20LM IS NOT NULL AND Events.Inform > NOW() - 5 * 60 *
1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Uphongolo0x20LM IS NOT NULL AND Events.Inform < (NOW() - 5 * 60 *
1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
VKLM:
label: “‘VKLM status’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Victor0x20Khanye0x20LM IS NOT NULL AND Events.Inform > NOW() - 5 *
60 * 1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Victor0x20Khanye0x20LM IS NOT NULL AND Events.Inform < (NOW() - 5 *
60 * 1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
WaterbergDM:
label: “‘Waterberg DM status’”
slices:
1_Normal:
color: “‘#44b3c2’”
filter: Tags.Waterberg0x20District0x20Municipality IS NOT NULL AND Events.Inform
> NOW() - 5 * 60 * 1000
label: “‘Online now’”
2_OFFLINE:
color: “‘#c58744’”
filter: Tags.Waterberg0x20District0x20Municipality IS NOT NULL AND Events.Inform
< (NOW() - 5 * 60 * 1000) - (24 * 60 * 60 * 1000)
label: “‘Offline’”
online:
label: “‘Online status’”
slices:
1_onlineNow:
color: “‘#31a354’”
filter: Events.Inform > NOW() - 5 * 60 * 1000
label: “‘Online now’”
2_past24:
color: “‘#a1d99b’”
filter: Events.Inform > (NOW() - 5 * 60 * 1000) - (24 * 60 * 60 * 1000) AND
Events.Inform < (NOW() - 5 * 60 * 1000)
label: “‘Past 24 hours’”
3_others:
color: “‘#e5f5e0’”
filter: Events.Inform < (NOW() - 5 * 60 * 1000) - (24 * 60 * 60 * 1000)
label: “‘Others’”

I just added another rule for 24 hours so it works