remove deleted devices from price and cost