Fix li from appending non-existent 'confirm'