Fixed batch actions if size of actions = 0

If the batch not action, it does not mean that it is not necessary export and choose the number of items on the page.
For example, I do not need the mass removal, in which case the batchactions|length == 0