Fix error in get badges in progress for user