Allow filtering the query for list

#124