Fixed LDB deletion always deleting first item, regardless which line was clicked