Fix for #2401, Make IronPython's UnwrapElement method support Category

### Issues

#2401 

### Reviewers

@ikeough