Fixes bug 1110003 - Correctly remove namespace from returned results.

@peterbe r?
My ES-fu isn't strong enough to understand this. Is it relevant?