Add all_docs_of_type filter