Fix issue with DWH sanity test