Added bugfix to lexicographic tabs