Safe check before outputing entry ID.