Fixed bug #17057: StateProvider values not respected