Fix a bug in the temporary handle_event debug stub; not covered by test spec.