[[ Bug 13948 ]] Initialise levels to 0 in BiDi algorithm
Merge pull request #1477 from runrevali/bugfix-13948

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