DataQualityFlag: fix subtract valid
DataQualityDict.query: versionless bug fixes