g-ajax: fixed a bug that caused go to be called more than 1x during upgrade when auto was true.