BUG: allow lex string comparisons

closes #6155