Implemented changes suggested here, 

https://github.com/michail-nikolaev/task-force-arma-3-radio/issues/532 also added in a check for if the tf_encryptionCode is set to nothing for a radio in config to avoid potential errors further down the line when non-encrypted radios are required.