Fix repeat statement

expression was backwards