SONAR-5209 Fix transition after permalinks