Bug fix for revocation

Jira issue: WP-773