A bunch of fixes for the observations permalinks