Fixed regression in GetSchema