Fixed isChecked for checkboxes with a value attribute

Related to https://github.com/Behat/Mink/issues/168