Sending module_id instead of module_result_id.

Changes on history_of_metric action.