fixed issue 1062

fixed https://github.com/molgenis/molgenis/issues/1062