SERVER-9517 Fix backwards condition in user document parser