SERVER-12520: Fixed typo that skipped over the variable assignment

https://jira.mongodb.org/browse/SERVER-12520