PIM-2305 Fix datagrid pagination when deleting entities