See: https://github.com/jmikola/mongo-php-driver/commit/3387e5887bb9f8e9a0912709f83d26070871ad10