Fixed issue #6

Cursor.toQuery() returns an empty query with only an "_id" column if no
documents are read from the server.