Fixed regression with primitives inside Scopes.