Fix bug happening since fd70c41
Calculate last action via store of a Submission object