Fixed PHP-1118: Aggregate cursor on non-existing collection throws weird error.
Merged pull request #714