Use a filter instead of query

filters are more efficient