Fix: Filter function behavior. #1