This lead to randomly failing the test as the insertion order is not preserved by Map. Follow-up to #48778. Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>