Fix query_exec call
Merge pull request #40 from Ashrey/master

Fix query_exec call