Updated cares flag processing
Merge branch 'master' into mongo-java-driver