Correct declaration of SelectionTypes; fix typo in EffectiveRange().