Update check_check

Fixing typo in conditional, should be '=='. See comments on pull 31.