Fixed issue with non valid guids (uniqueness and now they are counted as permalinks.)