Fix in Redirect

Made for upserts