# your problem prolly is that you're checking for exact name try replacing if name of event-entity is "cards": with if name of event-entity contains "cards":