Maybe you want to end the bule if this happens, just do "break" inside the condition.