More robust generation of timeline shortcuts. NULL user is allowed for timelines