Fixed bug where an array of actions was not getting dispatched.