Fix bug in selection of checkbox fields

This is related to: https://github.com/globaleaks/GlobaLeaks/issues/171