Make sure all node ids including the inline nodes are unique in the final plan