Clear button was causing checkbox to not have value during saving