BUG/TST: Test filter corner cases, and treat NaN as False.