Check if domain diagram is older than DER before transforming