Fix NPE when recalculating SLA Metric on Subtasks if the Agreement is configured to recalculate only on transition.