Reduce loops in Redirect.init