I'm always mixing up yes and checked. This should handle that for check boxes