filtered queries for baby matrix