Fixes #15: Filtering with 'n' now selects valid items