fixed filter 4 query size issue, added distinct