invalidate cached parent parameters when namespace parameter is set / changes

This is a subset of #352 which fixes the cached parameters when values in a sub-namespace are set / change.