Fixed typo preventing filters from being applied to topN queries