Fixed: issues when documents have different fields
Merge pull request #17 from jsilvestre/master

Fixed: issues when documents have different fields