Fixed redundancy caused by fix to linting error.