Regrettably, the nested macros are resolved too late for the condition. That is why the nested macros work for the branches of condition - (truevalue) and (falsevalue) parameters but not for the condition expression. If you want to compare two macros, please use custom macros. You can find a sample code here:
Macro expressions
Version 6 supports smarter system of macros: K#:
K# syntax
-hg-