#401304 by Darren Oh: make conditional in statistics_link() more explicit to catch node related invocations