Correctly deletes parties once they have expired