Removing unnecessary versions