Fixed bug in permalinks introduced by changing autoscale