updating for self-address invalidation msg

Providing if statement to check if the sender of the invalidation message is also the recipient.

Closes #417