Pass 2nd parameter to 'next' when a condition fails