Remove unnecessary comparison