Using maxusersperpage variable from Moodle instead of own maxusers constant