Only printing expired message if there are expired entries