A small bug spotted while testing selections - an equality to current selection should be done before range validation. Patch also fixes a typo in range validation helper. Changelog: - fix parameter validation in MCM_SETCURSEL handler