fix: no trailing query string separator with fragment identifier