I can confirm the fix mentioned above has fixed the lighting issues on the server I am running.
However when the code 3 option is selected only the local client can hear it not other clients. I tried the above code in the sirens script aswell already. Is there another fix for this?