Added a taxonomy filter for collections rewrite

See #1811