Fix issue where action hook arguments were not passed.