Proper database fixup for virt_db+multi in case of multiple databases.