Fixed BD-52: LINK IS NULL clause does not work