Darktable Create HDR feature turns red colors to blue

When creating a Darktable HDR from .SRW raw images red colors turn to blue. Any idea what is causing that and how to turn blue back to red?