Switch to falsey checks for the various link attributes, so empty attrs work properly.