Don't run 'didTransition' if we redirected - Fixes #1788