web: fix advanced page not loading properly when no querydata in db
web: fix advanced page not loading properly when no querydata in db

capstone22-Pilight/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,rettigs/cs-senior-capstone,rettigs/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,rettigs/cs-senior-capstone,rettigs/cs-senior-capstone,rettigs/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,rettigs/cs-senior-capstone,rettigs/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone