Fixed negative counts after deleting self-interacting objects.
    tmpList was never cleared after items were remove from the list.