removed callback condition from 'OnQueryError' call
this fixes issue #13