Filtering queries from different sources