Bugfix. Query for web app now works.