Fixed a bug in referencing the action metrics.