Issue #1104132: Context selection in views panes/contexts was sometimes using wrong contexts due to entity transition.