Ensure that tag is present before checking isPublic