Another "feature" to bear in mind is that, in Xe, it is not possible to make a LBF section conditional, despite what the documentation says. Creating a (conditional) custom section may therefore be your best bet.
Of course, the sequencing and subtotalling parameters should be consistent.