Fix high priority Findbugs warnings

Fix http://www.molgenis.org/jenkins/job/molgenis-reports/155/findbugsResult/HIGH/