Fixes bug with action chaining