Fix duplicate link submission bug