BUG/TST: Test filter corner cases, and treat NaN as False.
Merge pull request #5096 from danielballan/filter-len-test

TST: Groupby filter tests involved len, closing #4447