Fix deleting old pins