Fixes hook url's old value persistence.