Rework action name handling to fix some new bugs.

The previous action data updates broke non-extended patch action editing
functionality.