Fix error when awarding a badge from recipients page