Fixes redundant checks.