tmp2 has no effect on fireworks. It is a problem with the "Advanced Property Setter" Lua script, not with fireworks. Try asking @mniip to fix it.
The script sets life=1 and tmp=1 for all newly created particles of firework, not just particles created manually using the brush. So when the firework explodes, the Lua script turns all the newly created coloured sparks into fireworks that are just about to explode.