ECMS-5331 Bad layout when add Default primary type and Required primary type for node type