Fixed PHP-1118: Aggregate cursor on non-existing collection throws weird exception.