From https://github.com/tracespace/tracespace/issues/367