Fix bug when emptying the filter by name