 Fix and improve PhyloTreeNgs contigs query (#1153)
 Fix and improve PhyloTreeNgs contigs query (#1153)

* fix queries

* rename var

* contigs fix

* update query

* update query

* final query

* switch join order

* revert phylo tree creation modal fixes

* revert other unintended changes

* Remove space
chanzuckerberg/idseq-web,chanzuckerberg/idseq-web,chanzuckerberg/idseq-web,chanzuckerberg/idseq-web,chanzuckerberg/idseq-web