You're right, it indeed passes the SkillElement rather than the SkillType. I'll create a bug report. Thanks!