Time spent to invoice bug

New to using Dolibarr, noted a bug in the generation of invoice from time spent. With multiple tasks for the same project. Using a hosted Dolibarr with no extra modules.

When generating invoice, the mode can one liner per user or 1 line per task (or 1 line per period).

If 1 line per task works fine.
If 1 line per user it adds all the $ values together and uses this a PU hourly rate. Which results in inaccurate billing on the invoice. for example if 0.5 hour on the task, it bills 0.5 hourly rate for the employee.