Fix auto select for checkbox.