Fixed bug where period name would print even if entire period is zero.