Don't try executing a query without statements.