Fix for stories having non unique permalinks, adding validation