Fix error when awarding badges from recipients page