Refactor Article CollectionController to build temp tables for filtering.