Fixing bug that caused redirect urls to always be shown.