change from post filter to filteredQuery