Fix graph types being ignored.