[libvirt] [PATCH 9/2] event: properly filter count of remaining events