SERVER-11875 Make sure write concern is set before getting the value