* import.c (collapse_uids): Fix bug 894: possible memory corruption