Updated conditional to properly update skills.