Fix some uses of map() in Qt console completion code.

Missed these in the Python 3 single codebase work.