Fixed bug in action comparisons