Fix Delegate cop

Found two bugs in the `Delegation` cop.