Missing comparision on pull request #870