Using ListModel for rendering Query template