Changed checkOperators return so the index can be moved