Support selectDynamic access to unions