Fixes bug in kendo delete button