Addresses OOIION-719 - Fixes the bug when resubscribing to an already deleted/retired notification

* Includes an integration test to check that resubscribing to a deleted notification works and get_subscription() works as expected.