Fixes to SharedTransitions.py