Fixing problem with main frame refresh detection for urls with fragment specified.