DataQualityFlag: fix bug in query

    - can now give 2-tuple of times in stead of separate times