Sure. This workaround was just copied from the next function, query_instrument() and I was happy that it worked and don't need to open a bug report.  
However, I just see it now that it even fails my own code which uses the query_survey(), and I was only lucky so far that all coordinate pairs had some matches...