Fixes #4086: Correct node role on deleted and pending nodes
Merge pull request #355 from VinceMacBuche/bug_4086/display_role_message

Fixes #4086: Correct node role on deleted and pending nodes