Fixes for unique when multiple NAs are present