Fixed error where removing a single item deleted the entire line item.