Query sub-modules
Created by: phpsa
Updates the sub-query to use the filters for your request
Ie: running a query with an include=subTable&filter[subtable.field]=xxxx in current code will run the filter, however will return subTable results that are not matching aswell in the result set,
this patch allows us to now append the filters to that query and return only the matched records back with the result.