Fix crash on route properties edit