Fix a bug with configuration access in Context