Fix filter not filtering for type all. Closes #3