Added constant node validation