Update unlock function for delegations.
Fix bug where I was dereferencing as state_t instead of sle.