only show doc and agenda numbers if they exist