Change selection bit pattern to the same conventions as used in ANALYSIS/macros/...