Updated the filter example code

Now includes filter_matched(event) & return unless filter?(event)