GalleryBundle: Fix to remove table rows when they are deleted client-side