Fix timesheet-invoice for zero hours case (thanks to Chris Webber)