max per user did not work if courseendtime not set: fixed