Fix selection of losses associated with ensembles when period weights are present
Fix selection of losses associated with ensembles when period weights are present

OasisLMF/ktools,OasisLMF/ktools,OasisLMF/ktools,OasisLMF/ktools