At a first glance I've no good idea, what's going wrong. Obviously the signal name that was determined isn't valid.
To narrow the problem I need some more info. Do you have a save file that you could share? Or as alternative please set logging level to FINE (in the mod settings) and click again. If the error occurs again (what I am expecting 😉) please share your factorio-current.log. I've opened a github issue where you can post the links or add the files.