I was having the same trouble, until I realized that the check on the box doesnt go off until the attribute is removed. That means even if checked value is made false, it will remain there.
Hence use the removeAttr() function and remove the checked attrib and it WILL DEFINITELY WORK.