fixed bug whereby ship upgrade records were getting stranded when deleting a list.