Fix 'no target found' condition.