Fix for loading multiperiod data. Re #5417.
Merge branch 'feature/5417_dae_miscommunication' into develop