LPS-34449 Use searchContainer.getTotal() instead of total because now total is always 0
LPS-34449 We need to pass the groupId to empty trash