Fix "undefined method downcase for Fixnum" when getting missing badge requirements.