some fixes and improvements : can have an empty_value only for filters, and not for edit form