Fixed Bugs related to isChecked().

Hopefully, check is finished here.