Small tweaks to checkout history delete function