Fixes a problem in the _action code.