Yeah, I found the cause for that bug today. If you reload the level by going to the level selection screen and choose it, the bug will be gone. But you would have to rebuild your factory.
I guess you can just consider all the levels were solved correctly. ;)