Adds functionality to query over data with filters or not