diff --git quicktabs.classes.inc quicktabs.classes.inc
index 6dfe148..fedff88 100644
--- quicktabs.classes.inc
+++ quicktabs.classes.inc
@@ -188,7 +188,7 @@ class QuickSet {
       $renderable_contents = 0;
       foreach ($this->contents as $key => $tab) {
         $contents = $tab->render(TRUE);
-        if (empty($contents)) {
+        if (empty($contents['#markup'])) {
           // Rather than removing the item, we set it to NULL. This way we retain
           // the same indices across tabs, so that permanent links to particular
           // tabs can be relied upon.
@@ -513,4 +513,4 @@ class QuickPreRenderedContent implements QuickContentRenderable {
  */
 class InvalidQuickSetException extends Exception {
