Correct behaviour in case of url fragment