[DS-1432] Back button in Discovery broken in Firefox

https://jira.duraspace.org/browse/DS-1432

This solution will ensure that the search result logging still works, while the bug itself gets fixed.