More robust ODocuments convertion. Tests for empty result in OQueryModel.