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

Not sure why? The (internal) rewind() already causes the issue — iterator_to_array does more.