fixed bug where last "delete" tag was not functioning

Fixed bug where last displayed item from local storage's "delete" link
wasn't working.