Bug fix: #4375 Group two DB, one's name is the prefix of the other one.

Same PR than https://github.com/phpmyadmin/phpmyadmin/pull/1149 but for branch QA_4_1.