Special case handling for missing gain information.

It also now adds the instrument sensitivity as stage 0.