Fix double escaping in timelines select2 (fixes #2567)

https://www.openproject.org/issues/2567