fix sortable on delete when no records