WP-4263 Removing empty related section if empty