Small fix for TS dataform opening handler