check that an entries link exists before checking it is not empty - stops warning