[[ Bug 13948 ]] Initialise levels to 0 in BiDi algorithm