Fixed nested macros and virtual tags.