Flip error and query that triggered the error + Show the query only if there are more than one query