fixed some bugs related on fields validation https://github.com/globaleaks/GlobaLeaks/issues/438