middleware: fix active user count for admin