filtering out trashed submissions for catgories