The value returned from the getRootParentID function is not of type numeric.