Fix NPE when AR has been added to the graph but isn't used