Maybe I am missing sth. here but this will not set `@ticket.comments.last.private` to false in any case. The only thing it seems to do is set it to true if you're and admin and the value evaluated to true before.
This would work if private was protected from setting it before hand.