Filtering by aggregation field doesn't work

If user tries to filter aggregation field by is empty, no results are returned, even if there should be.