Fixed "apply button disabled" bug on constraint edit form (issue #164)