Refactored missing data handling code. This not only made it easier to maintain, but, combined with new configuration options, provided flexibility in control. It allows to save time significantly, as other code doesn't require to run a time-consuming MI process every time we need to analyze results (current setting).