Filtering works properly (Fix #5)