Don't go into an infinite loop