Fixing code examples that used '=' instead of '==' when checking equality.