The struct was defined in C++.
There were several bugfixes to maps and sets in 4.17 in particular, namely:
Maps and set pins created by splitting a struct pin now display correctly.