     @cache = {}
 
   componentDidUpdate: =>
-    queryString = @queryStringFromState()
-
-    if document.location.search != queryString
-      url = encodeURI "#{document.location.pathname}#{queryString}"
-      Turbolinks.controller.advanceHistory url
+    url = @urlFromState()
+
+    if document.location.href != url
+      Turbolinks.controller.advanceHistory encodeURI(url)
 
 
   componentWillUnmount: =>

    @setState {beatmapset}


  users: =>
    if !@cache.users?
      @cache.users = _.keyBy @state.beatmapsetDiscussion.users, 'id'

    BeatmapDiscussionHelper.urlParse(null, discussions)


  setBeatmapsetDiscussion: (_e, {beatmapsetDiscussion, callback}) =>
    @setState
      beatmapsetDiscussion: beatmapsetDiscussion
