Better way to determine if actions were modified