I was going to post how one goes about resolving problems such as the one you originally posted.
Using the KM Macro Debugger along with having the KM Variable Panel open (with the Variable in question selected), and then step through your Macro, Action by Action, observing how the Variable changes, or does not change.