Fixing bad logic in status checkbox.