Fix timeline grouping labels (#2146)

https://www.openproject.org/work_packages/2146