Fixed AJAX entry deletion bug