Don’t try to perform jobs on subscriptions that have been deleted.
Add validation for relationships.

Make sure that the entities being passed in match the relationship type
definition.
Make rubocop happy.