Implement filter on HaeinsaQuery. Fixes #11.