Bug fix for revocation

Jira issue: WP-773
Merge pull request #11 from jplyle/fix-revocation-again

Bug fix for revocation