Move this to the top of `determineBidi`