fix check for data links when value is array