Fixed issue with how dynamic metadata macros are called.