bug #3911 Filtering database names includes empty groupings