fix delete plan to delete by title rather than the first entry in table