Small optimalizations. Fix for selecting disabled/hidden checkbox.