Finally fixed consecutive badges and tested it