you did not fix it.

```ruby
if !event.private || (event.private && ...
```
or something like this