Processes: Fix <= 9.1 to show only db related processes & clean dbname.

Fix bugs introduced in commit d571ecae7b by ioguix on 2012-09-21.

I can't tell why these changes crept in along with the rest of
the fixes in that commit.  It looks like a testing version was
committed.