Detect duplicated fields or operations and show an error to user.