So sorry for the delay, I've been having serious procrastination issues lately.
Anyway, I am unable to produce the error on 2.0.32 with Space Age. So my guess is it's a mod causing the problem, can I have a save file to test it with? And the factorio version you are having problems with? (Also Are you using space age?)