diff --git a/app/decorators/odk/qing_group_decorator.rb b/app/decorators/odk/qing_group_decorator.rb
index 46d7760e87..5638fbb420 100644
--- a/app/decorators/odk/qing_group_decorator.rb
+++ b/app/decorators/odk/qing_group_decorator.rb
@@ -174,6 +174,8 @@ def group_hint_tag(xpath)
     end
 
     def main_body_tags(xpath)
+      return +"" unless visible_children.present?
+
       # If this is a multilevel fragment, we are supposed to render just one of the subqings. %>
       if multilevel_fragment?
         visible_children[0].body_tags(group: self, xpath_prefix: xpath)