Small bug fix

The total logs count in datatables was wrong for a user with limited access.