I've seen electronics do the weirdest things...
Even professional machines :/
I've rewritten a machines code once.
(NC code, not all that complicated, save for the fact that wrong values could destroy a really expensive piece of equipment...)
It would turn out that one statment with nearly exactly the same line of code would reverse the direction the machine would move it's actuators in.
I've held the correct and faulty code side by side to compare and, save for some locational data, they were exactly the same.
Rewriting the code correctly didn't seem to help from my pc, nor in the machines terminal.
The fix ended up to be a transplantation of working code from another line and applying the required locational data.
Going by the chat in their issue tracker, they are having some part of code not doing what it's supposed to do.
Maybe they could transplant parts from projects (hekate?) that have proven to work? It does seem to be a 4.x and 5.x problem?