Fixes input field length for all fields using AjaxForeignKeyWidget

See #941 for details.