Fixed bug that prevented more than one redirect