Fixed bug causing permalinks to not be updatable