Write concern should not have nil or extra values

RUBY-740