Fix to bug involving dummyVar

- Checking if params (including hash) exist in the URL and applying the dummyVar accordingly