fixer: Fix bug in bugs fixer

There was a if() without a {} followed by an if and an else, and the else went to the wrong if.

Having a basic test for "doesn't break on an empty object" seems worthwhile.