Fix automatic badge awarding
Merge pull request #579 from maxailloud/fix_badge_awarding

Fix automatic badge awarding