Badge approval: fix bug.