Fixes bug 1110003 - Correctly remove namespace from returned results.

@peterbe r?
Haha! you should have told me the code wasn't important. It's hard to see that overview as a reviewer. You tend to only see the details.