Fix validation issue on Operation Return types and Duplicate widget