Fix when session[:mi_vista] is nil
Merge branch 'mi_vista' into development