Changed getActions() to just take the action list from ApplyActions if found instead of creating a new list, as ApplyActions may only appear once.