Fix query list display

The use of a hash map to store the queries broke the rendering of the
list of the queries. We create a vector from the hash-map on the fly
to use the `build-all` om function.