Fix lua exception on nodes that have just booted