add a check if no licenses are found for the entity