Change logic so it is an early exit.