Issue #2935026 by acbramley, nikunjkotecha: Deleting entity with external canonical link throws exception