Make get_assertions_by_badge case-insensitive.