Fixing a test which fails on some dbs.