Manage nil case in log-# headers