Fixed bug where central categorical variate observed in local environment(s) are not retrieved

GCP-10522

Reviewer: Mae Turiana