Added a repeat on invalid input.

Great catch by a co-worker.