Fixing bad mongo query in the Triples query, was adding o:<nil> to the query incorrectly.
Merge pull request #1 from colladow/master

Fixing Triples query generator.