Bugfix: check for empty history in applySuffixOrthography