Remove some redundant ic checks.