Currently when exporting a query containing class constructions (e.g. `der {1:Baum}`), the query returns a 502 Bad Gateway.