Added error_report_email in hooks
Fixes in queries
Merge pull request #1919 from nabinhait/hotfix

Github issue fixes
Merge pull request #1920 from anandpdoshi/anand-july-9

Fixes in queries
overflow validation fixed