Fix a typo where an equality check should be an assignment.