Fixed bugs related to link editing and link caching issues.