Some field semantics adjustments on relationship editing form.

Fixed some bugs that was causing crashes when removing all operations
from operation list.