Fix the bug on constraint editing form that no show  the reference table
columns (issue #522)