kqueue: (wip) Fix for incorrectly detected event.

kqueue may return more events than requested
if one of them is filtered.