Fixed a couple of small problems I found when using the action decorator.