Thanks to the Help folks, the solution is here.
The condition and loop were applied to the wrong places.
Add an additional Block for the loop, which wraps the Accordion and Text Box container.
Put the Conditions on the Accordion and Text Box containers.
