NXP-14013: fix primaryType in mixed case