NODE-187 fixed

Fixes https://jira.mongodb.org/browse/NODE-187