Fixed the before filtering the query analysis controller.
Created worker queue classes for uploading and made some improvements to query filtering.