=rem #3787: Fix wrong comparison of loglevels in remote events logging

A shamefully stupid mistake. Needs forward port as well.