Fix  bug that would cause null type links to be changed anyway.