Issue #2539222 by sasanikolic: Exception when deleting a translation when there is no canonical link template