Small fix in event filter

without returning from function, the events were handled further which
was unpleasant