Fix public api when querying with no filter
add test for the case