Fix DB order in test (failing on Postgres)