Added limit to checks for unlinked items.