Add handling for no links