fix(query): filtered records part of results
returned projects count wrong, filtered / excluded records like 'is_fork' still part of the results.
'subquery' ignored the filter 'projects.filter(model.Project.is_fork == False', 'as_scalar' worked as expected.
Similar to https://pagure.io/pagure/c/df9b15c