Fix bug with agreement edit button (from detail page) & deploy 2.3.1007.1.