Making batch_delete work with new batch_action handling
Added pagination