Make rx.flatten filter undefineds from sub-arrays

Affects #8