[UPDATE] added type checking to filter method. Added nan filter stream test.