Fixed matching event to a category.