Fix `exists` property of deeply nested documents.

The `exists` property for Documents nested two levels deep or more was improperly set when retrieving from the database.

As a result I experienced some numerical fields which replicated themselves exponentially on every save until PHP started experiencing memory issues until I noticed the problem.