Fix return from getPermNode()