Remove missing values since kthSmallestValue cannot handle them.