Fix bug for misc badges