Delete previous versions and keep the final