Hi
When you save your pedalboard without the midi controller plugged, it automatically (sadly) forgets the midi connections… It maybe this ?
When you create a pedalboard the way midi ins and outs are configured as the default : all together in one single in and out.
Hope this helps