small bugfix to remove duplicate individuals