Do not rely on link,rel=self to be accurate, double check with next element