Fixed bug in "back to search". refs #964

- When user chose danish page, the session variable containing
  search link was corrupted. Now the session variable is only
  updated if there is a real value to update it with.