changed how out-of-sync inner/outer sessions are handled to a cleaner solution.