Error: Selections can't have missing values.

Can you provide a reproducible example?