deleting wrong records in the molgenis forms

fix bug https://github.com/molgenis/molgenis-legacy/issues/221 in legacy