DataQualityFlag.query_dqsegdb: added coalescing

    - also restrict return to input segments