Fixed small issue with permalink not being imported.