Throw on batch query

braces