Making ShowPermalinkTest pass with new db