fixed issue related to https://jira.mongodb.org/browse/SERVER-14623