Prevent navigating to steps that don't exist