Fixed bug in permanent redirect not being available