Fixing a reset on change bug

This should fix the crash after route_alternative has been reset.