Fix assignment target checks.