Fix missing folder in history when opened in new tab (Issue #594)

Fixes #594
1 job for master in 14 seconds (queued for 1 second)