Fix context check for add old URL