Fixed bug reported by Glenn about traverse's context variables