Fix a bug with the customer group event listener definition.