Otherwise, the invention didn't work properly, or even worse, it produced results opposite to its intended effect.
Otherwise, the invention did not work as intended.
The invention always worked exactly as intended under all circumstances.