Removed a redundant check.