Reverse logic and return checkbox variables correctly.