Make ranking-tie test a little more forgiving since database ordering is undefined.