Fix crash on entering a filter resulting in an empty list