Fixed issue where url path was missing from push/replace state