A couple of fixes. The ALL option is now looking promising, although
some occasional overhangs, where the imputed state has a preference to
be the same as its right-neighbour, due to the greedy nature of the
imputation.