Removed advanced query html