Fix double escaping in timelines select2 (fixes #2567)