When few elements in profile are not expanded completely by default while other elements in the same profile are expanded properly then please follow below step.
Click on the blue arrow next to the element name and then select "Expand Elements". The elements should then show up and can be saved in the profile.
This issue is because when we hit a threshold based on number of nodes created along with other factors such as tree depth, we will stop auto-expanding the elements to limit the total number of nodes created. The nodes can be expanded as needed.