added revamped field filtering support
now all the fileld filtering is done inside the query.js