fetch_mal_lists: print last userID flushed upon exception

update values on duplicate-key violation instead of ignoring