Fix #62, "o is null" error

This works on test.wiki for test case given in issue #62.