Properly hide following list if empty