Fixed controller function edit() to automatically add fields missing
because of ajaxselect widget.