pipelet.js: Query..generate() fix code when there are no or-terms in the query
xs_core tests: fix check_set_content()