Problem with undying charm on peasants

whenever i cast undying charm on a peasant at the start of sarven siege and then command it to collect coins, it only starts collecting coins after the undying charm finishes. maybe a bug? it does that in all the levels i use it in