Only show list footer on non-empty lists.