Bugfix: multiquery generated empty statement