Added removeChecked function. Fixes in getChecked.