Optimized checkbox fix.