Was passing wrong node forward in analyze-definition.