Fix bidi purge loop logic a bit Otherwise you could skip one element by accident. This does not have direct consequences, but may lead to slightly wrong behaviour when there are stray opening brackets. Signed-off-by: Laslo Hunhold <dev@frign.de>