Added check for the LI isRelevant