Fixes for using db.command against sharded write commands like createUser/removeUser