Fixed indices numbering issue for deletion and page refresh. TOTAL_COUNT not updated after refresh until form added/deleted