Better fix for the issue where the url for the add new button could end up having duplicate params