Check if internalID is null on notification delete

InternalID can be null which will break the handling of unpublishing
deleted notifications.