Ensure url additions are done before any fragments [RD-91]