PLA-797 fix div with sections logic