Added integrity checks to CtkNode