Fixes #44, filtering didn't work