it created a new category
That's exactly what it's designed to do. It states this directly in the actions description and throughout the configuration of the action.
My suggestion earlier to use a Query action with database queries is still necessary.