fix missing cond in 'Equivalent SQL'