changing Document.find() to support any number of conditions and pass the document instance to the condition block