Add support for nested queries
Merge pull request #50 from tovbinm/master

Add support for nested queries