change an LTR check to a not-RTL check