Added checks to obligation editing

Added checks to obligation editing